package com.yunfei.api.v2.enums;

/**
 * 自定义请求状态码
 * @author ScienJus
 * @date 2015/7/15.
 */
public enum CreateZuoFeiXieYiTemplateDataEnum {
    contractNum("contractNum", "${cont_no}"),
    signDateY("signDateY", "${sign_year}"),
    signDateM("signDateM", "${sign_mth}"),
    signDateD("signDateD", "${sign_day}"),
    custNm("custName", "${cust_nm}"),
    mangerNm("mangerNm", "${manger_nm}"),
    contNm("contractNm", "${cont_nm}"),
    canRemark("canRemark", "${can_remark}"),

    ERROR("2040","系统错误");
    /**
     * 返回码
     */
    private String code;

    /**
     * 返回结果描述
     */
    private String message;

    CreateZuoFeiXieYiTemplateDataEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
